package com.ylbh.modules.sign.mapper;

import com.ylbh.common.pojo.sign.dto.EntityRewardDTO;
import com.ylbh.common.pojo.sign.vo.ShoppingSigninRewardVO;
import com.ylbh.modules.sign.entity.ShoppingSigninReward;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ShoppingSigninRewardMapper {
    void insertSignReward(ShoppingSigninReward reward);

    int selectSignEnableStateCount();

    List<ShoppingSigninRewardVO> selectSigRewardList();

    void updateRewardEnableState(@Param(value = "id") String id, @Param(value = "enableState") Integer enableState);
}
